package com.ruoyi.web.pojo.vo.warning;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @desc  某一天的预警数量统计
 * @author fwx 2024/2/18 14:02
 **/
@Data
public class HomeWarningStatisticsVo {

    @ApiModelProperty(value = "总预警数量")
    public Long allCount = 0L;

    @ApiModelProperty(value = "虫情预警数量")
    public Long insectCount = 0L;

    @ApiModelProperty(value = "灾情预警数")
    public Long factorCount = 0L;

    @ApiModelProperty(value = "变化类型 0上升 1下降")
    public Integer changeType = 0;

    @ApiModelProperty(value = "变化数量")
    public BigDecimal changeNum = BigDecimal.ZERO;

    @ApiModelProperty(value = "变化描述")
    public String changeDescription;

    @ApiModelProperty(value = "最新的十条预警")
    public List<HomeWarningListVo> records = new ArrayList<>();

}
